package com.demo;

public class GirlFriend {
    //属性
    public String name;
    public int age;
    public String gender;

    //行为
    public void sleep(){
        System.out.println("女朋友"+name+"在睡觉");
    }

    public void eat(){
        System.out.println("女朋友"+name+"在吃饭");
    }
}
